package com.coin.feign;

import com.coin.dto.AdminBankDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Auther: 李 力
 * @Date: 2025/6/13
 * @Description: com.coin.feign
 * @version: 1.0
 */
@FeignClient(value = "admin-service", path = "/adminBanks")
public interface AdminBankServiceFeign {

    @GetMapping("/list")
    List<AdminBankDto> getAllAdminBanks();
}
